<?php
/**
 * Created by PhpStorm.
 * User: ysk
 * Date: 2021/6/21
 * Time: 17:02
 */

namespace api\modules\v1\user\actions\Login;

use api\base\BaseApiAction;


/**
 * @SWG\Post(
 *      tags={"user"},
 *      path="/user/login",
 *      summary="login",description="user-login",
 *      @SWG\Parameter(name="phone",in="formData",description="用户名",type="string",default="17611589891",required=true),
 *      @SWG\Parameter(name="code",in="formData",description="验证码",type="string",default="1",required=true),
 *      @SWG\Response(
 *          response=200,
 *          description="OK",
 *          @SWG\Schema(
 *              @SWG\Property(
 *                  property="data",
 *                  @SWG\Property(property="accessToken",type="string",description="fsdf6sd6f46d4f6s4d6f4d64h324",),
 *              )
 *      )
 * )
 * )
 * @return \api\base\ResponseApi
 *
 */


class LoginAction  extends BaseApiAction {


    public function run(LoginParams $params){
        return self::respondSuccess(['a']);
    }


}
